package com.group01.community.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.group01.community.entity.ZyRoom;
import com.group01.community.entity.vo.ZyRoomVo;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 * 房间  Mapper 接口
 * </p>
 *
 * @author guoyuan
 * @since 2025-05-01
 */
@Repository
public interface ZyRoomMapper extends BaseMapper<ZyRoom> {
    /**
     * 分页获取房屋信息
     * @return
     */
    IPage<ZyRoomVo> getRoomPage(IPage<ZyRoom> pages, ZyRoom zyRoom);
}
